package com.tressatisfiability.shared;

import java.util.Date;

public class Random {

	public static boolean randomBoolean() {
		java.util.Random r = new java.util.Random();
		r.setSeed(new Date().getTime());
		return r.nextBoolean();
	}

	public static int randomInt(int n) {
		java.util.Random r = new java.util.Random();
		r.setSeed(new Date().getTime());
		return Math.abs(r.nextInt() % n);
	}
}
